package com.recruit.wechat.service;

import com.recruit.wechat.bean.WechatProject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.recruit.wechat.bean.result.ResultPage;
import com.recruit.wechat.controller.model.ApiResultModel;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 肖守凯
 * @since 2020-08-24
 */
public interface WechatProjectService extends IService<WechatProject> {

     /** 添加WechatProject
     * @param wechatProject  前端传进的参数
     * @return 返回统一信息
     */
   ApiResultModel addWechatProject(WechatProject wechatProject);

    /** 编辑跳转页面的回显数据WechatProject
     * @param id  前端传进的参数
     * @return 返回实体类
     */
    WechatProject selectWechatProjectByIdWechatProject(Integer id);

     /** 编辑WechatProject
     * @param wechatProject  前端传进的参数
     * @return 返回统一信息
     */
   ApiResultModel editWechatProject(WechatProject wechatProject);


     /** 删除一条WechatProject
     * @param id  前端传进的ID
     * @return 返回统一信息
     */
      ApiResultModel delWechatProject(Integer id);


   /** 分页查询WechatProject
     * @param page  页码
     * @param limit  查几条
     * @param wechatProject  前端传进的参数
     * @return 返回统一分页信息
     */
   ResultPage findWechatProjectByPage(Integer page, Integer limit, WechatProject wechatProject);
}
